#!/bin/bash

export PYTHONPATH=`pwd`
#--------------
pylint -f parseable ./*.py ./unitTestCase/example*/*.py |tee pylint.out
cd unitTestCase
nosetests --with-xunit --all-modules --traverse-namespace --with-coverage --cover-inclusive ./example_*
mv ./nosetests.xml ..
cd ..
#--------------
#python-coverage -x ./*.py ./unitTestCase/example*/*.py -m xml
#--------------
